#! /bin/make -f
# @file
# @brief 板级描述层的编译规则
# @author
# + 隐星魂 (Roy Sun) <xwos@xwos.tech>
# @copyright
# + Copyright © 2015 xwos.tech, All Rights Reserved.
# > Licensed under the Apache License, Version 2.0 (the "License");
# > you may not use this file except in compliance with the License.
# > You may obtain a copy of the License at
# >
# >         http://www.apache.org/licenses/LICENSE-2.0
# >
# > Unless required by applicable law or agreed to in writing, software
# > distributed under the License is distributed on an "AS IS" BASIS,
# > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# > See the License for the specific language governing permissions and
# > limitations under the License.
#

BRD_INCDIRS := ..
BRD_INCDIRS += ../RTD/Base/header
BRD_INCDIRS += ../RTD/Base/include
BRD_INCDIRS += ../RTD/Platform/include
BRD_INCDIRS += ../RTD/Platform/startup/include
BRD_INCDIRS += ../RTD/include
BRD_INCDIRS += ../generate/include

BRD_EOBJS :=


BRD_PREDEF :=
BRD_PREDEF += -DCPU_S32K144HFT0VLLT
BRD_PREDEF += -DENABLE_FPU
BRD_PREDEF += -DGCC
BRD_PREDEF += -DS32K1XX
BRD_PREDEF += -DS32K144
BRD_PREDEF += -DCPU_CORTEX_M4F

BRD_AFLAGS := $(BRD_PREDEF)
BRD_CFLAGS := $(BRD_PREDEF)
BRD_CXXFLAGS := $(BRD_PREDEF)
BRD_LDFLAGS :=

BRD_CSRCS :=
BRD_ASRCS :=

BRD_CSRCS += init.c firmware.c version.c
BRD_CSRCS += Port_Ci_Port_Ip_Cfg.c
BRD_CSRCS += $(call BrdWildcard,*.c,xwac/xwos)
